/*
                  InterfaceIngame Class Definition
*/

#ifndef INTERFACEINGAME_H
#define INTERFACEINGAME_H

#include "Interface.h"
#include "SnakeEngine.h"
#include "HUD.h"

class InterfaceIngame : public Interface
{
    public:
        InterfaceIngame();
        ~InterfaceIngame();

        int Initialise();
        InterfaceType HandleInput(const SDL_Event& event);
        int Draw(SDL_Surface *surface);

        InterfaceType CheckWidgetEvents();

    protected:
        FrameGroup frmgHUD;

        Frame *frmScoreboard;
        Label *lblName;
        Label *lblScore;
        Label *lblCurrentWinner;

        Frame *frmMessages;
        Chatbox *cbxMessages;

        Imagebox imgBackground;

        vector<Label*> Scores;

        void UpdateScoreboard();
};

#endif
